//
//  PhotoModel.h
//  webApp
//
//  Created by 黄晓容 on 16/5/28.
//  Copyright © 2016年 cloud. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BridgeHelp.h"

typedef NS_ENUM(NSUInteger,CameraType){
    CameraTypePostposition,
    CameraTypePreposition
};

@interface PhotoModel : NSObject

@property (nonatomic) CGFloat height;
@property (nonatomic) CGFloat width;
@property (nonatomic) CameraType cameraType;
@property (nonatomic) UIImagePickerControllerSourceType photoSource;

- (instancetype)initWithHeight:(CGFloat)height andWidth:(CGFloat)width andCameraType:(CameraType)cameraType andPhotoSource:(UIImagePickerControllerSourceType)photoSource;

@end
